#include "stack.h"
#include "queue.h"

int main()
{
	Stack st;
	StackInit(&st);
	StackPush(&st, 1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);
	StackPush(&st, 5);
	
	while (!StackEmpty(&st))
	{
		int val = st._top;
		printf("%d", val);
		StackPop(&st);
	}
	StackDestory(&st);
	return 0;
}